Version Control with Git Module 3 Assessment Answer

Version Control with Git Module 3 Assessment Answer

Version Control with Git Module 3 Assessment Answer

In this article i am gone to share Coursera Course: Version Control with Git Module 3 Assessment Answer with you..


Module 3 Assessment Answer


Question 1)

Which one of the following statements about merge conflicts is true?

  • Merge conflicts can not occur in Git.
  • Merge conflicts can be fast-forward merged.
  • Merge conflicts occur when a person needs to make a decision.



Question 2)

Assume that you have a topic branch merging into a base branch. Which one of the following is involved in resolving a merge conflict?

  • Checking out the topic branch.
  • Pushing to the remote repository.
  • Adding file(s) to the staging area.



Question 3)

Assume that you have a topic branch merging into a base branch. Which one of these situations is most likely to create a merge conflict?

  • Both branches update the header in README.md.
  • The topic branch modifies fileA.txt. The base branch modifies README.md.
  • In README.md, the topic branch modifies the header and the base branch modifies the footer.



Question 4)

Which one of the following statements is true?

  • A tracking branch label always points to the same SHA-1 as the remote branch label.
  • A tracking branch label never points to the same SHA-1 as the remote branch label.
  • A tracking branch label sometimes points to the same SHA-1 as the remote branch label.



Question 5)

Which one of the following is most likely to have tracking branches?

  • The staging area.
  • A local repository.
  • A remote repository.



Question 6)

Immediately after you clone a repository, which one of these statements is most likely to be true?

  • There are no tracking branches.
  • The local branch tip will be ahead of the tracking branch tip.
  • The tracking branch label and local branch label point to the same commit.



Question 7)

If you perform a fetch and new objects are retrieved, which one of these is most likely to be true?

  • The tracking branch label will point to a new commit.
  • The local branch and tracking branch will contain the exact same commits.
  • The local branch label and tracking branch label will point to the same commit.



Question 8)

Which one of these statements is true?

  • Fetch may result in a merge conflict.
  • Pull does not update the local branch tip.
  • Fetch does not update the local branch tip.



Question 9)

Which one of these statements is true?

  • Pull combines fetch and push.
  • Pull combines fetch and merge.
  • Push combines fetch and merge.



Question 10)

A pull may result in which one of the following?

  • A fast-forward merge.
  • A new checked out branch.
  • A merge commit on the remote repository.



Question 11)

When should you avoid rebasing a branch?

  • Always.
  • If a merge conflict occurs.
  • If you have shared the branch.



Question 12)

Which one of the following statements is true?

  • A rebase never results in a merge conflict.
  • A rebase always results in a merge conflict.
  • A rebase may result in a merge conflict.



Question 13)

Which one of the following statements is true?

  • A rebase never rewrites the commit history.
  • A rebase may rewrite the commit history.
  • A rebase always rewrites the commit history.



Question 14)

Which one of the following statements is true?

  • A rebase may result in a merge conflict.
  • A rebase always creates a merge commit.
  • Rebasing a topic branch involves checking out the base branch.



Question 15)

Which one of the following statements is true?

  • An interactive rebase may involve a single branch.
  • An interactive rebase never removes existing commits.
  • An interactive rebase must involve two or more branches.



_____________________________________________________________

Version Control with Git 





Post a Comment

0 Comments